package com.hbzhit.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 自定义Redis配置类
 * @author DING
 */
@Data
@Component("redisProperties")
@ConfigurationProperties(prefix = "hbzhit.redis")
public class RedisProperties {
    /**是否开启Redis*/
    private boolean open = false;
}
